home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / MiscKit1.7.1 / MiscKitArchive.mbox / mbox / 000237_misckit-reques…aska.et.byu.edu_Sun Jul 3 20:03:23 1994.msg < prev    next >
Internet Message Format  |  1994-10-30  |  4KB

  1. Return-Path: <misckit-request@alaska.et.byu.edu>
  2. Received: from alaska.et.byu.edu by darth.byu.edu (NX5.67d/NX3.0M)
  3.     id AA00486; Sun, 3 Jul 94 20:03:12 -0600
  4. Received: from yvax1.byu.edu by alaska.et.byu.edu; Sun, 3 Jul 1994 18:36:03 -0600
  5. Received: from DIRECTORY-DAEMON by yvax.byu.edu (PMDF V4.3-7 #7277)
  6.  id <01HEA2OU7QFK0Q80TJ@yvax.byu.edu>; Sun, 3 Jul 1994 18:35:44 MDT
  7. Received: from alaska.et.byu.edu by yvax.byu.edu (PMDF V4.3-7 #7277)
  8.  id <01HEA2ORSVA8HTTJR9@yvax.byu.edu>; Sun, 3 Jul 1994 18:35:40 MDT
  9. Received: from yvax1.byu.edu by alaska.et.byu.edu; Sun,
  10.  3 Jul 1994 18:35:08 -0600
  11. Received: from DIRECTORY-DAEMON by yvax.byu.edu (PMDF V4.3-7 #7277)
  12.  id <01HEA2NMWU0G0Q80TJ@yvax.byu.edu>; Sun, 3 Jul 1994 18:34:46 MDT
  13. Received: from mimbres.cs.unm.edu by yvax.byu.edu (PMDF V4.3-7 #7277)
  14.  id <01HEA2NJSZLSHTS8XP@yvax.byu.edu>; Sun, 3 Jul 1994 18:34:42 MDT
  15. Received: by mimbres.cs.unm.edu (5.65/033093)
  16.  with UUCP id <AA12746@mimbres.cs.unm.edu>; Sun, 3 Jul 94 18:20:20 -0600
  17. Received: from goat (goat [192.54.108.9]) by droid (8.6.7/8.6.6)
  18.  with SMTP id SAA22961; Sun, 3 Jul 1994 18:16:37 -0600
  19. Received: by goat (NX5.67d/NX3.0X) id AA00298; Sun, 3 Jul 94 18:16:36 -0600
  20. Received: by NeXT.Mailer (1.100)
  21. Received: by NeXT Mailer (1.100)
  22. Date: Sun, 03 Jul 1994 18:16:36 -0600
  23. From: Andrew Stone <andrew@stone.com>
  24. Subject: Re: Foundation and Misc
  25. To: Bruce McKenzie <bruce@trwlasd.com>
  26. Cc: misckit@byu.edu, miscstring@byu.edu
  27. Message-Id: <199407040016.SAA22961@droid>
  28. Content-Transfer-Encoding: 7BIT
  29.  
  30. Bruce is right about needing both MiscString and MiscStringNew (although, I'd propose we move to a new prefix MOSString (Misc OpenStep String).
  31.  
  32. One reason you can't just rename is that folks may need to unarchive MiscString, so we'll need a core MiscString with read: and write: minimally.
  33.  
  34.  
  35.  
  36. Begin forwarded message:
  37.  
  38. Date: Sun, 03 Jul 1994 14:17:51 -0700
  39. From: Bruce McKenzie <mimbres!trwlasd.com!bruce>
  40. Subject: Re: Foundation and Misc
  41. To: tsengel@cip.informatik.uni-erlangen.de
  42. Cc: misckit@byu.edu, miscstring@byu.edu
  43. Content-Transfer-Encoding: 7BIT
  44.  
  45. > MiscString.... Hmm  ok what about making it a subclass of
  46. > NSString an add the missing methods + maybe some
  47. > compatibility stuff for the first time. If the MiscKit would
  48. > define a dummy NSString tomorrow we could start switching to
  49. > the NSString where sufficient. And places that need more
  50. > functionallity could be converted to Misc .... and would
  51. > remain Misc in 4.0. It would be nice to use NSString really
  52. > soon because methods should use it heavily for casting. If we
  53. > have it all Misc.. We can distinguish later where NSString is
  54. > sufficient and where MiscString really is required as an
  55. > argument.
  56.  
  57. I'd recommend a different approach. Define a new class 'MiscStringNew' (excuse me, I'm onomatopoetically challenged) that is the subclass of NSString. Add the behaviour to it, and allow MiscString to wither (bug fixes only) until the world is using MiscStringNew.
  58.  
  59. I think a critical part of this migration is the separation and refinement of the API. Currently, MiscString is a kitchen sink of a class. There's a lot of great stuff there, but it is neither complete nor consistent in its offerings (e.g. you can search for chars in 37,000,000 ways, but there is limited support for *non regex* string searching).
  60.  
  61. Bruce
  62. ---
  63. Bruce McKenzie (spuds@netcom.com, NeXTMail welcome)
  64. Atlas Software Ventures, Inc.
  65. PO Box 1299, Santa Clara, CA 95052-1299
  66. 800/278-9909 (ASV-9909)
  67. *** Software Development, specializing in NEXTSTEP ***
  68. ---
  69.